from hashakisea.db.feeds.mongoFeed import MongoFeed
import unittest as ut

inputXXX={'base':1}
outputXXX=MongoFeed.getMongoData(inputXXX)

class haha(ut.TestCase):
    def testInput(self):
        self.assertEqual(inputXXX.keys(),'base')
        self.assertEqual(inputXXX.values(),int)
    def testOutput(self):
        self.assertEqual(outputXXX,list)
        self.assertEqual(outputXXX[0],dict)

if __name__=='__main__':
    ut.main()